package net.tv90.shoppingserver.exception;

import lombok.Getter;
import org.springframework.http.HttpStatus;

@Getter
public class ServerException extends RuntimeException {
    HttpStatus status = HttpStatus.OK;

    public ServerException(String message, HttpStatus status) {
        super(message);
        this.status = status;
    }

    public ServerException(String message) {
        super(message);
    }

}
